home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / tools / vcomp.exe / MANUAL.DOC < prev    next >
Encoding:
Text File  |  1992-06-16  |  38.5 KB  |  1,016 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                                    Visual Compare
  16.  
  17.                                     Version 1.52
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                      A file comparison utility for programmers.
  49.  
  50.  
  51.         Copyright Notice
  52.  
  53.         Copyright (C) John R. Whitney 1991, 1992
  54.         All rights reserved.
  55.  
  56.  
  57.         Trademarks
  58.  
  59.         CompuServe is a registered trademark of CompuServe, Inc.
  60.  
  61.         IBM is a registered trademark of International Business Machines
  62.         Corporation.
  63.  
  64.         Lotus is a registered trademark of Lotus Development Corporation.
  65.  
  66.         Intel is a registered trademark of Intel Corporation.
  67.  
  68.         Microsoft is a registered trademark of Microsoft Corporation.
  69.  
  70.  
  71.         Disclaimer and Agreement
  72.  
  73.         Visual Compare is supplied as is, without any warranty.  To the
  74.         extent permitted under applicable law, Whitney Software, Inc.
  75.         disclaims all warranties, either express or implied, including but
  76.         not limited to implied warranties of merchantability and fitness for
  77.         a particular purpose.
  78.  
  79.         In no event shall Whitney Software, Inc. be liable for any damages
  80.         whatsoever (including, without limitation, damages for loss of
  81.         business profits, business interruption, loss of business
  82.         information, or other pecuniary loss) arising out of the use of or
  83.         inability to use this Whitney Software, Inc. product, even if Whitney
  84.         Software, Inc. has been advised of the possibility of such damages.
  85.         Some states do not allow the exclusion of liability for consequential
  86.         or incidental damages, so the above limitation may not apply to you.
  87.  
  88.         Visual Compare is a "shareware program" and is provided at no charge
  89.         to the user for evaluation.  Feel free to share it with your friends,
  90.         but you may not give it away altered or as part of another system.
  91.         The essence of "user-supported" software is to provide personal
  92.         computer users with quality software without high prices, and yet to
  93.         provide incentive for programmers to continue to develop new
  94.         products.  If you find this program useful and find that you are
  95.         using Visual Compare and continue to use Visual Compare after a
  96.         reasonable trial period, you must make a registration payment of $30
  97.         to Whitney Software, Inc.  The $30 registration fee will license one
  98.         copy for use on any one computer at any one time.  You must treat
  99.         this software just like a book.  An example is that this software may
  100.         be used by any number of people and may be freely moved from one
  101.         computer location to another, so long as there is no possibility of
  102.         it being used at one location while it's being used at another.  Just
  103.         as a book cannot be read by two different people at the same time.
  104.  
  105.         Commercial users of Visual Compare must register and pay for their
  106.         copies of Visual Compare within 30 days of first use or their license
  107.         is withdrawn.  See the file LICENSE.DOC for a site-license agreement.
  108.  
  109.         Anyone distributing Visual Compare for any kind of remuneration must
  110.         first contact Whitney Software, Inc. for authorization.  This
  111.         authorization will be automatically granted to distributors
  112.         recognized by the Association of Shareware Professionals as adhering
  113.         to its guidelines for shareware distributors, and such distributors
  114.         may begin offering Visual Compare immediately, however Whitney
  115.         Software, Inc. must still be advised so that the distributor can be
  116.         kept up-to-date with the latest version of Visual Compare.  A
  117.         distribution fee for distributing Visual Compare may not exceed $10.
  118.  
  119.         You are encouraged to pass a copy of Visual Compare along to your
  120.         friends for evaluation.  Please encourage them to register their copy
  121.         if they find that they can use it.  All registered users will receive
  122.         a copy of the latest version of Visual Compare and notice of updates
  123.         to Visual Compare.
  124.  
  125.  
  126.         Technical Support
  127.  
  128.         If you have any questions, comments, or suggestions regarding Visual
  129.         Compare, please send a CompuServe message via CompuServe MAIL to
  130.         70661,3463 or write:
  131.  
  132.         Whitney Software, Inc.
  133.         P.O. Box 4999
  134.         Walnut Creek, CA 94596 USA
  135.  
  136.                 _______
  137.            ____|__     |               (R)
  138.         --|       |    |-------------------
  139.           |   ____|__  |  Association of
  140.           |  |       |_|  Shareware
  141.           |__|   o   |    Professionals
  142.         -----|   |   |---------------------
  143.              |___|___|    MEMBER
  144.  
  145.  
  146.         ASP Ombudsman Statement
  147.  
  148.         This program is produced by a member of the Association of Shareware
  149.         Professionals (ASP).  ASP wants to make sure that the shareware
  150.         principle works for you.  If you are unable to resolve a
  151.         shareware-related problem with an ASP member by contacting the member
  152.         directly, ASP may be able to help.  The ASP Ombudsman can help you
  153.         resolve a dispute or problem with an ASP member, but does not provide
  154.         technical support for members' products.
  155.  
  156.         Please write to the ASP Ombudsman at:
  157.  
  158.         ASP Ombudsman
  159.         545 Grover Road
  160.         Muskegon, MI 49442-9427 USA
  161.  
  162.         or send a CompuServe message via CompuServe MAIL to ASP Ombudsman
  163.         70007,3536.
  164.  
  165.  
  166.         Table of Contents
  167.         _____________________________________________________________________
  168.  
  169.  
  170.         Introduction ...................................................... 1
  171.  
  172.         Starting Visual Compare ........................................... 2
  173.  
  174.         Visual Mode ...................................................... 14
  175.  
  176.         Miscellaneous Notes .............................................. 15
  177.  
  178.         Version History .................................................. 16
  179.  
  180.  
  181.         Introduction                                                        1
  182.         _____________________________________________________________________
  183.  
  184.  
  185.         This manual describes how to use the Visual Compare program to
  186.         compare two program source files.  This manual and the Visual Compare
  187.         program were written for programmers.
  188.  
  189.         Using Visual Compare's visual mode you can easily see the differences
  190.         between two program source files and you can also selectively discard
  191.         differences in order to quickly undo some of the changes that were
  192.         made.
  193.  
  194.         Visual Compare requires an IBM Personal Computer or 100% compatible
  195.         running DOS version 2.1 or later.
  196.  
  197.         Visual Compare uses a comparison algorithm that has been
  198.         mathematically proven to always produce a shortest possible sequence
  199.         of insertions and deletions that will convert file one to file two.
  200.  
  201.  
  202.         Starting Visual Compare                                             2
  203.         _____________________________________________________________________
  204.  
  205.  
  206.         There are two ways to control the start of Visual Compare:
  207.  
  208.         1. Through arguments specified on the Visual Compare command line.
  209.  
  210.         2. Through commands specified in the Visual Compare initialization
  211.            file.
  212.  
  213.  
  214.         Visual Compare Command Line
  215.  
  216.         Run Visual Compare with no arguments to see a list of the available
  217.         command line arguments or to have Visual Compare prompt for
  218.         arguments.
  219.  
  220.         The form of the Visual Compare command line is as follows:
  221.  
  222.              VCOMP fileone filetwo [options]
  223.  
  224.  
  225.         VCOMP
  226.  
  227.         The name of the program module.
  228.  
  229.  
  230.         fileone
  231.  
  232.         The first of two files you wish to compare.
  233.  
  234.  
  235.         filetwo
  236.  
  237.         The second of two files you wish to compare.
  238.  
  239.  
  240.         If fileone or filetwo ends with a backslash (\) or colon (:) symbol,
  241.         the filename (file name and optional extension) from the other
  242.         fileone or filetwo command line argument is appended.  This can be
  243.         convenient if file one and file two are in different subdirectories
  244.         and have the same filename.  For example:
  245.  
  246.              VCOMP \OLD\ \NEW\SUPER.C
  247.  
  248.         is equivalent to
  249.  
  250.              VCOMP \OLD\SUPER.C \NEW\SUPER.C
  251.  
  252.  
  253.         Starting Visual Compare                                             3
  254.         _____________________________________________________________________
  255.  
  256.  
  257.         If fileone or filetwo has a file name consisting of an asterisk (*)
  258.         symbol, the file name from the other fileone or filetwo command line
  259.         argument is substituted.  For example:
  260.  
  261.              VCOMP *.BAK SUPER.C
  262.  
  263.         is equivalent to
  264.  
  265.              VCOMP SUPER.BAK SUPER.C
  266.  
  267.  
  268.         options
  269.  
  270.         The following options may be specified with a leading / or -,
  271.         whichever you prefer:
  272.  
  273.         /B
  274.  
  275.         Same as the BLACKANDWHITE initialization file command.
  276.  
  277.         Use /B to tell Visual Compare that you have a monochrome display
  278.         attached to your computer.
  279.  
  280.         Visual Compare can usually determine whether you have a color or
  281.         monochrome display.  If you have a color display, Visual Compare
  282.         takes advantage of this and uses colors on the screen.
  283.  
  284.         However, if you have a CGA (Color Graphics Adapter), Visual Compare
  285.         can't tell whether you have a monochrome or color display.  Since
  286.         Visual Compare will assume you have a color display, you may wish to
  287.         use /B to tell Visual Compare otherwise.
  288.  
  289.  
  290.         /Tn
  291.  
  292.         2-64
  293.         Default value: 8
  294.  
  295.         Same as the TABWIDTH initialization file command.
  296.  
  297.         Specifies the tab width to be used when expanding tabs, compressing
  298.         spaces, or shifting the display right and left with the Tab and
  299.         Shift-Tab keys.
  300.  
  301.  
  302.         /25
  303.  
  304.         Displays 25 lines in visual mode.
  305.  
  306.  
  307.         Starting Visual Compare                                             4
  308.         _____________________________________________________________________
  309.  
  310.  
  311.         /43
  312.  
  313.         Displays 43 lines in visual mode if you have an EGA (Enhanced
  314.         Graphics Adapter).
  315.  
  316.  
  317.         /50
  318.  
  319.         Displays 50 lines in visual mode if you have a VGA (Video Graphics
  320.         Array).
  321.  
  322.  
  323.         /S[-]
  324.  
  325.         Writes an edit script to standard output that will consist of a
  326.         shortest possible sequence of insertions and deletions that will
  327.         convert file one to file two.
  328.  
  329.         Specify /S- to write the edit script in reverse order (from the end
  330.         of file to the beginning of file).  This can be useful if you are
  331.         using an editor to convert file one to file two using the edit
  332.         script, since modifying the end of file one will not effect the line
  333.         numbers in the edit script that refer to earlier lines in file one.
  334.  
  335.  
  336.         /C
  337.  
  338.         Writes a composite file to standard output that is the same as the
  339.         composite file displayed in visual mode except that strings are used
  340.         to delimit text unique to file one or file two instead of colors.
  341.  
  342.         Use the ONESTART, ONEEND, TWOSTART, and TWOEND initialization file
  343.         commands to specify the strings used to delimit text unique to file
  344.         one or file two.  By default, ONESTART equals "$$$$$  fileone START
  345.         $$$$$", ONEEND equals "$$$$$  fileone END  $$$$$", TWOSTART equals
  346.         "$$$$$  filetwo START  $$$$$", and TWOEND equals "$$$$$  filetwo END
  347.         $$$$$."  Where "fileone" and "filetwo" represent the fileone and
  348.         filetwo command line arguments.
  349.  
  350.         One reason you might use this option is to run Visual Compare from
  351.         within your editor in order to display output similar to that
  352.         displayed in visual mode, in an editor window while you edit file two
  353.         or file one in another editor window.
  354.  
  355.  
  356.         Starting Visual Compare                                             5
  357.         _____________________________________________________________________
  358.  
  359.  
  360.         /D
  361.  
  362.         Writes a file to standard output that consists of information about
  363.         each difference.  The information consists of the corresponding file
  364.         positions for file one and file two, whether the difference is an
  365.         insertion or deletion, and the number of lines inserted or deleted.
  366.  
  367.         You might use this option to interface a program of your own design
  368.         to Visual Compare.
  369.  
  370.  
  371.         /En
  372.  
  373.         0-32736
  374.         Default value: 32736
  375.  
  376.         The edit distance is defined as the length of a shortest possible
  377.         sequence of insertions and deletions that will convert file one to
  378.         file two.
  379.  
  380.         Use /En to set the maximum edit distance.  If you specify a value
  381.         greater than 32736, Visual Compare will use 32736.  If while
  382.         comparing files the maximum edit distance is exceeded, Visual Compare
  383.         will display an appropriate message and abort.
  384.  
  385.         Use this option if you are comparing files that may be too different
  386.         for the comparison to be useful and you don't want to wait for Visual
  387.         Compare to complete the comparison if the comparison won't be useful.
  388.  
  389.  
  390.         /I
  391.  
  392.         Same as the IGNORE initialization file command.
  393.  
  394.         Ignores leading space and tab characters when comparing lines.  Use
  395.         /I if you are not interested in changes in the indentation of lines.
  396.  
  397.  
  398.         /K
  399.  
  400.         Same as the CASE initialization file command.
  401.  
  402.         Considers upper-case and lower-case letters equivalent when comparing
  403.         lines.
  404.  
  405.  
  406.         Starting Visual Compare                                             6
  407.         _____________________________________________________________________
  408.  
  409.  
  410.         /Z
  411.  
  412.         Visual Compare was designed to perform a line-oriented comparison on
  413.         two program source files.  It is possible for Visual Compare to
  414.         compare two files that are not the same at the byte level and report
  415.         that they are identical.  This can happen for six reasons.  First,
  416.         the lines in the files are not all delimited in the same manner.  For
  417.         example, lines in one file are delimited by Cr and lines in the other
  418.         file by Cr-Lf.  Second, end-of-file characters (Ctrl-Z) can cause
  419.         this to happen, because end-of-file characters are normally discarded
  420.         and files are not normally read past the first end-of-file character.
  421.         Third, tab characters can cause this to happen, because tab
  422.         characters are normally expanded to spaces before the comparison
  423.         takes place.  Fourth, trailing space and tab characters at the end of
  424.         lines can cause this to happen, because, by default, trailing space
  425.         and tab characters at the end of lines are discarded before the
  426.         comparison takes place.  (To change the default, see the TRAILING
  427.         initialization file command.)  Fifth, the /I command line option or
  428.         the IGNORE initialization file command can cause this to happen,
  429.         because they tell Visual Compare to ignore leading space and tab
  430.         characters when comparing lines.  Sixth, the /K command line option
  431.         or the CASE initialization file command can cause this to happen,
  432.         because they tell Visual Compare to consider upper-case and
  433.         lower-case letters equivalent when comparing lines.
  434.  
  435.         Use /Z to determine if two files are identical at the byte level.
  436.         This option tells Visual Compare to not discard line delimiters, to
  437.         not discard end-of-file characters and to read any characters past
  438.         end-of-file characters, to not expand tab characters, to not discard
  439.         trailing space and tab characters at the end of lines, to ignore the
  440.         /I command line option or the IGNORE initialization file command, and
  441.         to ignore the /K command line option or the CASE initialization file
  442.         command.  Visual Compare will still perform a line-oriented
  443.         comparison.  Visual Compare will also ignore the /C, /S, and /D
  444.         command line options and will enter visual mode if the files are not
  445.         identical.
  446.  
  447.  
  448.         Visual Compare Initialization File
  449.  
  450.         Visual Compare automatically processes an initialization file called
  451.         VCOMP.INI at the start of execution.
  452.  
  453.         Visual Compare first looks for VCOMP.INI in the current working
  454.         directory.  If it doesn't find VCOMP.INI, it next looks in the
  455.         directories specified by the PATH environment variable.
  456.  
  457.  
  458.         Starting Visual Compare                                             7
  459.         _____________________________________________________________________
  460.  
  461.  
  462.         The initialization file commands can be abbreviated.  For example,
  463.         the TABSOUT command can be entered as TABS, TABSO, TABSOU, or
  464.         TABSOUT.  The shortest legal abbreviation for a command is indicated
  465.         by showing that portion of the command in uppercase and the rest of
  466.         the command in lowercase.
  467.  
  468.         Some of the initialization file commands have command line option
  469.         counterparts.  If both the initialization file command and the
  470.         corresponding command line option are specified, the command line
  471.         option will override.
  472.  
  473.         The available initialization file commands are as follows:
  474.  
  475.         Attributes
  476.  
  477.         Use ATTRIBUTES to control the colors Visual Compare uses on the
  478.         screen.
  479.  
  480.         An attribute value is associated with each type of field that Visual
  481.         Compare displays.  The following table lists the seven different
  482.         field types displayed by Visual Compare.  Use ATTRIBUTES to specify
  483.         an attribute value for each field type, in the order of the table
  484.         below.
  485.  
  486.         Field                Description
  487.         ----------------------------------------------------------
  488.         Common               lines common to file one and file two
  489.         Delete               lines deleted from file one
  490.         Insert               lines inserted from file two
  491.         Function             function key and file name lines
  492.         Window               help and prompt windows
  493.         Error                error message windows
  494.         Key                  keys in help and prompt windows
  495.  
  496.         Attribute values are numbers ranging from 0 to 255.  Different
  497.         attribute values cause text to appear in different colors,
  498.         highlighted, blinking, etc.  On most display adapters that handle
  499.         color, you can use the following table to determine the attribute
  500.         value corresponding to a given color.  Add the number corresponding
  501.         to the desired foreground color to the number corresponding to the
  502.         desired background color.  To also get blinking, add 128.
  503.  
  504.  
  505.         Starting Visual Compare                                             8
  506.         _____________________________________________________________________
  507.  
  508.  
  509.         Foreground           Background
  510.         -------------------------------
  511.         0 black              0 black
  512.         1 blue               16 blue
  513.         2 green              32 green
  514.         3 cyan               48 cyan
  515.         4 red                64 red
  516.         5 magenta            80 magenta
  517.         6 brown              96 brown
  518.         7 white              112 white
  519.         8 gray
  520.         9 light blue
  521.         10 light green
  522.         11 light cyan
  523.         12 light red
  524.         13 light magenta
  525.         14 yellow
  526.         15 bright white
  527.  
  528.         On a MDA (Monochrome Display Adapter), the available attribute values
  529.         are 7 for normal text, 15 for highlighted text, 65 for underlined
  530.         text, and 112 for reverse video text.  To also get blinking, add 128
  531.         to any of these values.
  532.  
  533.         Examples:
  534.  
  535.              ATTRIBUTES 27 28 26 30 63 79 15
  536.  
  537.         The default attribute values used by Visual Compare on a CGA (Color
  538.         Graphics Adapter), an EGA (Enhanced Graphics Adapter), or a VGA
  539.         (Video Graphics Array).
  540.  
  541.              ATTRIBUTES 7 112 15 7 112 112 15
  542.  
  543.         The default attribute values used by Visual Compare on a MDA
  544.         (Monochrome Display Adapter).
  545.  
  546.  
  547.         Starting Visual Compare                                             9
  548.         _____________________________________________________________________
  549.  
  550.  
  551.         Blackandwhite
  552.  
  553.         Same as the /B command line option.
  554.  
  555.         Use BLACKANDWHITE to tell Visual Compare that you have a monochrome
  556.         display attached to your computer.
  557.  
  558.         Visual Compare can usually determine whether you have a color or
  559.         monochrome display.  If you have a color display, Visual Compare
  560.         takes advantage of this and uses colors on the screen.
  561.  
  562.         However, if you have a CGA (Color Graphics Adapter), Visual Compare
  563.         can't tell whether you have a monochrome or color display.  Since
  564.         Visual Compare will assume you have a color display, you may wish to
  565.         use BLACKANDWHITE to tell Visual Compare otherwise.
  566.  
  567.  
  568.         Case
  569.  
  570.         Same as the /K command line option.
  571.  
  572.         Use CASE to tell Visual Compare to consider upper-case and lower-case
  573.         letters equivalent when comparing lines.
  574.  
  575.  
  576.         ENdofline
  577.  
  578.         CRLF, CR, or LF
  579.         Default value: CRLF
  580.  
  581.         Use ENDOFLINE to tell Visual Compare the line delimiter to use when
  582.         the composite file is written to disk by the F2 write function.  If
  583.         Visual Compare is started with the /Z command line option, it will
  584.         not discard the line delimiters in file one and file two and will
  585.         write them to the composite file, instead of using the line delimiter
  586.         specified by ENDOFLINE.
  587.  
  588.  
  589.         Starting Visual Compare                                            10
  590.         _____________________________________________________________________
  591.  
  592.  
  593.         EXPanded
  594.  
  595.         YES or NO
  596.  
  597.         Visual Compare keeps the contents of the files you are comparing in
  598.         memory.  Visual Compare can use up to four megabytes of DOS and EMS
  599.         (Lotus-Intel-Microsoft Expanded Memory Specification, version 3.0 or
  600.         later) memory or DOS and XMS (eXtended Memory Specification) memory
  601.         to store your files.  If Visual Compare detects that EMS memory is
  602.         present in your system, it will automatically use it.  If EMS memory
  603.         is not detected and XMS memory is detected, Visual Compare will
  604.         automatically use XMS memory.
  605.  
  606.         Use EXPANDED NO to tell Visual Compare to ignore any EMS memory in
  607.         your system, and to use only DOS and possibly XMS memory.  You may
  608.         need to use EXPANDED NO if your EMS driver is not compatible with
  609.         Visual Compare.  You may also want to use EXPANDED NO for performance
  610.         reasons.
  611.  
  612.  
  613.         EXTended
  614.  
  615.         YES or NO
  616.  
  617.         Visual Compare keeps the contents of the files you are comparing in
  618.         memory.  Visual Compare can use up to four megabytes of DOS and EMS
  619.         (Lotus-Intel-Microsoft Expanded Memory Specification, version 3.0 or
  620.         later) memory or DOS and XMS (eXtended Memory Specification) memory
  621.         to store your files.  If Visual Compare detects that EMS memory is
  622.         present in your system, it will automatically use it.  If EMS memory
  623.         is not detected and XMS memory is detected, Visual Compare will
  624.         automatically use XMS memory.
  625.  
  626.         Use EXTENDED NO to tell Visual Compare to ignore any XMS memory in
  627.         your system, and to use only DOS and possibly EMS memory.  You may
  628.         need to use EXTENDED NO if your XMS driver is not compatible with
  629.         Visual Compare.  You may also want to use EXTENDED NO for performance
  630.         reasons.
  631.  
  632.  
  633.         Height
  634.  
  635.         25, 43, or 50
  636.  
  637.         Use HEIGHT to tell Visual Compare how many lines to display in visual
  638.         mode.  You must have either an EGA (Enhanced Graphics Adapter) or a
  639.         VGA (Video Graphics Array) for this command to have any effect.
  640.  
  641.  
  642.         Starting Visual Compare                                            11
  643.         _____________________________________________________________________
  644.  
  645.  
  646.         Ignore
  647.  
  648.         Same as the /I command line option.
  649.  
  650.         If you are not interested in changes in the indentation of lines, use
  651.         IGNORE to tell Visual Compare to ignore leading space and tab
  652.         characters when comparing lines.
  653.  
  654.  
  655.         SHadow
  656.  
  657.         YES or NO
  658.  
  659.         Use SHADOW to tell Visual Compare whether or not windows should have
  660.         shadows.
  661.  
  662.  
  663.         SNowcontrol
  664.  
  665.         YES or NO
  666.  
  667.         The IBM Color Graphics Adapter (CGA) requires special programming to
  668.         prevent "snow" from appearing on the screen when a program changes
  669.         the contents of the screen.  The special programming slows down
  670.         screen updating and is not necessary for most other display adapters.
  671.         If Visual Compare detects a MDA (Monochrome Display Adapter), an EGA
  672.         (Enhanced Graphics Adapter), or a VGA (Video Graphics Array), it does
  673.         not "desnow."  If Visual Compare detects a CGA, it will try to
  674.         determine whether "desnowing" is necessary.
  675.  
  676.         If you suspect that Visual Compare is "desnowing" when it is not
  677.         necessary, you may want to use SNOWCONTROL NO which will allow Visual
  678.         Compare to run faster.
  679.  
  680.         If your computer "locks up" when you run Visual Compare, use
  681.         SNOWCONTROL NO.
  682.  
  683.         If Visual Compare incorrectly determines that your CGA does not
  684.         require "desnowing", you can force Visual Compare to "desnow" by
  685.         using SNOWCONTROL YES.
  686.  
  687.  
  688.         Starting Visual Compare                                            12
  689.         _____________________________________________________________________
  690.  
  691.  
  692.         TABSout
  693.  
  694.         Use TABSOUT to tell Visual Compare to compress spaces in the
  695.         composite file to tab characters (using the default tab width of 8 or
  696.         the tab width specified by the TABWIDTH initialization file command
  697.         or the /Tn command line option) before writing the composite file to
  698.         disk.  Spaces appearing after the first single or double quote on a
  699.         line are not compressed and single spaces are not changed to tab
  700.         characters.
  701.  
  702.         TABSOUT effects the composite file written to disk by the visual mode
  703.         F2 write function and has no effect on the composite file written to
  704.         standard output by the /C command line option.
  705.  
  706.  
  707.         TABWidth
  708.  
  709.         2-64
  710.         Default value: 8
  711.  
  712.         Same as the /Tn command line option.
  713.  
  714.         Specifies the tab width to be used when expanding tabs, compressing
  715.         spaces, or shifting the display right and left with the Tab and
  716.         Shift-Tab keys.
  717.  
  718.  
  719.         TRailing
  720.  
  721.         YES or NO
  722.         Default value: YES
  723.  
  724.         Use TRAILING to tell Visual Compare whether or not trailing space and
  725.         tab characters at the end of lines should be discarded.
  726.  
  727.  
  728.         ONEStart
  729.  
  730.         "string" or 'string'
  731.         Default value: "$$$$$  fileone START  $$$$$"
  732.  
  733.         If the /C command line option is specified, ONESTART specifies the
  734.         string to be written to standard output at the start of text that is
  735.         unique to file one.  The "fileone" in the default value represents
  736.         the fileone command line argument.
  737.  
  738.  
  739.         Starting Visual Compare                                            13
  740.         _____________________________________________________________________
  741.  
  742.  
  743.         ONEEnd
  744.  
  745.         "string" or 'string'
  746.         Default value: "$$$$$  fileone END  $$$$$"
  747.  
  748.         If the /C command line option is specified, ONEEND specifies the
  749.         string to be written to standard output at the end of text that is
  750.         unique to file one.  The "fileone" in the default value represents
  751.         the fileone command line argument.
  752.  
  753.  
  754.         TWOStart
  755.  
  756.         "string" or 'string'
  757.         Default value: "$$$$$  filetwo START  $$$$$"
  758.  
  759.         If the /C command line option is specified, TWOSTART specifies the
  760.         string to be written to standard output at the start of text that is
  761.         unique to file two.  The "filetwo" in the default value represents
  762.         the filetwo command line argument.
  763.  
  764.  
  765.         TWOEnd
  766.  
  767.         "string" or 'string'
  768.         Default value: "$$$$$  filetwo END  $$$$$"
  769.  
  770.         If the /C command line option is specified, TWOEND specifies the
  771.         string to be written to standard output at the end of text that is
  772.         unique to file two.  The "filetwo" in the default value represents
  773.         the filetwo command line argument.
  774.  
  775.  
  776.         Working
  777.  
  778.         YES or NO
  779.  
  780.         Use WORKING to tell Visual Compare whether or not to display the
  781.         "Working" message.
  782.  
  783.  
  784.         Here is an example initialization file:
  785.  
  786.              CASE
  787.              EXP NO
  788.              TABW 4
  789.  
  790.         Consider upper-case and lower-case letters equivalent when comparing
  791.         lines, ignore any EMS memory in your system, and use a tab width of
  792.         4.
  793.  
  794.  
  795.         Visual Mode                                                        14
  796.         _____________________________________________________________________
  797.  
  798.  
  799.         Visual Compare can be run in batch mode by using the /C, /S, or /D
  800.         command line option.  However, most of the time you will probably run
  801.         Visual Compare in visual mode.  In visual mode you can easily see the
  802.         differences between two program source files and you can also
  803.         selectively discard differences in order to quickly undo some of the
  804.         changes that were made.
  805.  
  806.         If the /C, /S, or /D command line option is not given, Visual Compare
  807.         will enter visual mode.  In visual mode you will be presented with a
  808.         scrollable display of a composite of file one and file two.  The
  809.         composite file consists of lines that are common to file one and file
  810.         two, lines unique to file one (deleted from file one), and lines
  811.         unique to file two (inserted from file two).  Invoke the F1 help
  812.         function to see a list of the available functions and their keys.
  813.  
  814.         To selectively discard differences, use the F7 remove one function,
  815.         the F8 remove two function, the Del key, and the Minus key to remove
  816.         insertions and deletions from the composite file.  Then invoke the F2
  817.         write function to write the modified composite file to disk.  All
  818.         lines in the composite file except those that have been removed will
  819.         be written to disk.  When you invoke the F2 write function, you will
  820.         be prompted for a composite file name.
  821.  
  822.         Use the F5 show/hide function to display insertions and deletions
  823.         that have been removed.  Use the F4 number function to mark the
  824.         removed insertions and deletions.  Use the Shift-F7 key, the Shift-F8
  825.         key, the Ins key, and the Plus key to unremove insertions and
  826.         deletions.  To use the Ins or Plus key to unremove an insertion or
  827.         deletion, you must first position the cursor on the removed insertion
  828.         or deletion (the removed insertion or deletion must be displayed with
  829.         the F5 show/hide function).
  830.  
  831.         If there are lines that are too long to be completely displayed, use
  832.         the right and left arrow keys, the End key, and the Home key to
  833.         horizontally scroll the display.  The End key will scroll the display
  834.         so that the last character of the longest displayed line is visible.
  835.  
  836.  
  837.         Miscellaneous Notes                                                15
  838.         _____________________________________________________________________
  839.  
  840.  
  841.         Lines in file one and file two can be delimited with Cr, Lf, or
  842.         Cr-Lf.  The maximum allowed line length in file one and file two is
  843.         2048 characters.  The maximum number of lines that file one and file
  844.         two each can contain is 16368.  The maximum number of lines that the
  845.         composite file can contain is 16368.
  846.  
  847.         Visual Compare will normally terminate with a return code of 1.
  848.         However, if Visual Compare determines that file one and file two are
  849.         identical, it will display an appropriate message and terminate with
  850.         a return code of 0.  Also, if Visual Compare encounters an error
  851.         condition while not in visual mode, it will display an appropriate
  852.         message and terminate with a return code of 2.
  853.  
  854.         Visual Compare uses a comparison algorithm that is described by
  855.         Eugene W. Myers in "An O(ND) difference algorithm and its variations"
  856.         (Algorithmica, 1986, pp. 251-266).  Visual Compare uses the linear
  857.         space refinement of the basic algorithm.
  858.  
  859.  
  860.         Version History                                                    16
  861.         _____________________________________________________________________
  862.  
  863.  
  864.         Version 1.32
  865.  
  866.         Released March 5, 1992.
  867.  
  868.         First shareware version.
  869.  
  870.  
  871.         Version 1.40
  872.  
  873.         Released March 20, 1992.
  874.  
  875.  
  876.         New Features
  877.  
  878.         1. Support for XMS (eXtended Memory Specification) memory.  (See the
  879.            EXTENDED initialization file command.)
  880.  
  881.         2. The maximum allowed line length in file one and file two was
  882.            increased from 255 to 2048 characters.
  883.  
  884.         3. The ability to consider upper-case and lower-case letters
  885.            equivalent when comparing lines.  (See the /K command line
  886.            option and the CASE initialization file command.)
  887.  
  888.         4. The ability to not discard trailing space and tab characters at
  889.            the end of lines.  (See the TRAILING initialization file command.)
  890.  
  891.         5. The ability to substitute for a file name consisting of an
  892.            asterisk (*) the file name from the other fileone or filetwo
  893.            command line argument.
  894.  
  895.         6. The ability to substitute the fileone command line argument for
  896.            "fileone" in strings specified by the ONESTART and ONEEND
  897.            initialization file commands.  The ability to substitute the
  898.            filetwo command line argument for "filetwo" in strings specified
  899.            by the TWOSTART and TWOEND initialization file commands.
  900.  
  901.         7. The termination return codes were changed.  (See the section
  902.            "Miscellaneous Notes.")
  903.  
  904.  
  905.         Version History                                                    17
  906.         _____________________________________________________________________
  907.  
  908.  
  909.         Version 1.50
  910.  
  911.         Released May 6, 1992.
  912.  
  913.  
  914.         New Features
  915.  
  916.         1. The ability to prompt for arguments when Visual Compare is run
  917.            with no arguments.
  918.  
  919.         2. The Shift-Del key, used to remove insertions and deletions from
  920.            the composite file, was changed to the Minus key.  The Shift-Ins
  921.            key, used to unremove insertions and deletions, was changed to the
  922.            Plus key.
  923.  
  924.         3. The Shift-F7 key will unremove all deletions from the composite
  925.            file.  The Shift-F8 key will unremove all insertions.
  926.  
  927.         4. The Ctrl-End and Ctrl-Home keys respectively position the cursor
  928.            on the bottom and top line of the display.
  929.  
  930.         5. The Tab and Shift-Tab keys respectively shift the display right
  931.            and left, tab width columns.
  932.  
  933.         6. The ability to consider all characters significant.  (See the /Z
  934.            command line option.)
  935.  
  936.         7. If fileone or filetwo ends with a colon (:) symbol, the filename
  937.            (file name and optional extension) from the other fileone or
  938.            filetwo command line argument is appended.
  939.  
  940.         8. The ability to specify the line delimiter to use when the
  941.            composite file is written to disk by the F2 write function.  (See
  942.            the ENDOFLINE initialization file command.)
  943.  
  944.  
  945.         Version 1.50 Revision A
  946.  
  947.         Released May 19, 1992.
  948.  
  949.         Documentation changes only, primarily regarding ASP membership.
  950.  
  951.  
  952.         Version 1.51
  953.  
  954.         Released June 12, 1992.
  955.  
  956.         Faster and smaller program module.
  957.  
  958.  
  959.         Version History                                                    18
  960.         _____________________________________________________________________
  961.  
  962.  
  963.         Version 1.52
  964.  
  965.         Released June 16, 1992.
  966.  
  967.         Bug fix.  If file one and file two had certain characteristics and
  968.         EMS or XMS memory was used, Visual Compare would fail to produce a
  969.         correct comparison.
  970.  
  971.  
  972.          ----------------end-of-author's-documentation---------------
  973.  
  974.                          Software Library Information:
  975.  
  976.                     This disk copy provided as a service of
  977.  
  978.                            Public (software) Library
  979.  
  980.          We are not the authors of this program, nor are we associated
  981.          with the author in any way other than as a distributor of the
  982.          program in accordance with the author's terms of distribution.
  983.  
  984.          Please direct shareware payments and specific questions about
  985.          this program to the author of the program, whose name appears
  986.          elsewhere in  this documentation. If you have trouble getting
  987.          in touch with the author,  we will do whatever we can to help
  988.          you with your questions. All programs have been tested and do
  989.          run.  To report problems,  please use the form that is in the
  990.          file PROBLEM.DOC on many of our disks or in other written for-
  991.          mat with screen printouts, if possible.  PsL cannot debug pro-
  992.          programs over the telephone, though we can answer questions.
  993.  
  994.          Disks in the PsL are updated  monthly,  so if you did not get
  995.          this disk directly from the PsL, you should be aware that the
  996.          files in this set may no longer be the current versions. Also,
  997.          if you got this disk from another vendor and are having prob-
  998.          lems,  be aware that  some files may have become corrupted or
  999.          lost by that vendor. Get a current, working disk from PsL.
  1000.  
  1001.          For a copy of the latest monthly software library newsletter
  1002.          and a list of the 4,000+ disks in the library, call or write
  1003.  
  1004.                            Public (software) Library
  1005.                                P.O.Box 35705 - F
  1006.                             Houston, TX 77235-5705
  1007.  
  1008.                                 1-800-2424-PSL
  1009.                              MC/Visa/AmEx/Discover
  1010.  
  1011.                           Outside of U.S. or in Texas
  1012.                           or for general information,
  1013.                               Call 1-713-524-6394
  1014.  
  1015.  
  1016.